Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Geometry Class / Simplify Method / Simplify(GeometrySimplificationOption,Nullable<Matrix3x2>,Single,IGeometrySink) Method
A value that specifies whether the simplified geometry should contain curves.
The transform to apply to the simplified geometry, or NULL.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
The ISimplifiedGeometrySink to which the simplified geometry is appended.

In This Topic
    Simplify(GeometrySimplificationOption,Nullable<Matrix3x2>,Single,IGeometrySink) Method
    In This Topic
    Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an ISimplifiedGeometrySink.
    Syntax
    'Declaration
     
    Public Overloads Sub Simplify( _
       ByVal simplificationOption As GeometrySimplificationOption, _
       ByVal worldTransform As System.Nullable(Of Matrix3x2), _
       ByVal flatteningTolerance As System.Single, _
       ByVal geometrySink As IGeometrySink _
    ) 
    public void Simplify( 
       GeometrySimplificationOption simplificationOption,
       System.Nullable<Matrix3x2> worldTransform,
       System.float flatteningTolerance,
       IGeometrySink geometrySink
    )

    Parameters

    simplificationOption
    A value that specifies whether the simplified geometry should contain curves.
    worldTransform
    The transform to apply to the simplified geometry, or NULL.
    flatteningTolerance
    The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
    geometrySink
    The ISimplifiedGeometrySink to which the simplified geometry is appended.

    Return Value

    If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
    See Also